package com.ap.core.domain;

import org.hibernate.annotations.TypeDef;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * User: Rohit.Dixit
 */
@Entity
@Table(name = "T_TRANSACTION_CHECKOUT_TYPE")
@AttributeOverride(name = "id",column = @Column(name = "transaction_checkout_type"))
@TypeDef(name = "id",  typeClass = String.class)
public class TransactionCheckOutType extends Identifiable<String>{

   	

	private static final long serialVersionUID = 8339070221409552886L;


	private TransactionCheckOutType(){
		
	}
	
	
	@Column(name = "CHECKOUT_TYPE_NAME")
    private String checkOutTypeName;

	
	
	@Column(name = "CHECKOUT_TYPE_DESCRIPTION")
    private String checkOutTypeDescription;
	
   

    public TransactionCheckOutType(String transactionCheckOutType, String checkOutTypeName, String checkOutTypeDescription) {
        this.id = transactionCheckOutType;
        this.checkOutTypeName = checkOutTypeName;
        this.checkOutTypeDescription = checkOutTypeDescription;
    }



	public String getCheckOutTypeName() {
		return checkOutTypeName;
	}



	public void setCheckOutTypeName(String checkOutTypeName) {
		this.checkOutTypeName = checkOutTypeName;
	}



	public String getCheckOutTypeDescription() {
		return checkOutTypeDescription;
	}



	public void setCheckOutTypeDescription(String checkOutTypeDescription) {
		this.checkOutTypeDescription = checkOutTypeDescription;
	}

	
}
